//
//  IndexPageInfo.h
//  Dolphin
//
//  Created by Handymood on 11-6-6.
//  Copyright 2011 __Hanydmood__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface IndexPageInfo : NSObject 
{
    BOOL grid_mode_on;
    BOOL bottom_line_mode_on;
    
    CGFloat unit_width;
    CGFloat unit_height;
    
    CGFloat unit_width_iphone;
    CGFloat unit_height_iphone;
    
    CGFloat unit_between_width;
    CGFloat unit_between_height;
    
    CGFloat start_unit_offset_x;
    CGFloat start_unit_offset_y;
    
    int grid_column_num;
    BOOL grid_column_autoalign;
    NSMutableArray *unitArr;
    NSMutableArray *targetPageIdArr;
    int unit_ratio_mode;
    
    BOOL visible;
}

@property BOOL grid_mode_on;
@property BOOL bottom_line_mode_on;
@property BOOL visible;

@property CGFloat unit_width;
@property CGFloat unit_height;

@property CGFloat unit_width_iphone;
@property CGFloat unit_height_iphone;

@property CGFloat unit_between_width;
@property CGFloat unit_between_height;

@property CGFloat start_unit_offset_x;
@property CGFloat start_unit_offset_y;

@property BOOL grid_column_autoalign;

@property int grid_column_num;
@property(nonatomic,retain) NSMutableArray *unitArr;
@property(nonatomic,retain) NSMutableArray *targetPageIdArr;
@property int unit_ratio_mode;

-(void) initDefaultSet;
-(void) toString;
-(void) reset;
@end
